package org.hwadee.service;

import org.hwadee.entity.PageOptions;
import org.hwadee.entity.UserOperation;
import org.hwadee.mapper.PageOptionsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PageOptionsService {

    @Autowired
    PageOptionsMapper pageOptionsMapper;

    public PageOptions getPageOperation() {
        return pageOptionsMapper.getPageOperation();
    }

    public List<UserOperation> getAllUserOperations() {return pageOptionsMapper.getAllUserOperations();};
}
